module.exports = {
  apps: [
    {
      name: 'web-ai-tool',
      exec_mode: 'cluster',
      instances: 'max',
      script: './server/index.mjs',
      cwd: '.output',
      env: {
        PORT: 3000,
        NODE_ENV: 'production'
      },
      env_dev: {
        PORT: 5000,
        NODE_ENV: 'development'
      }
    }
  ]
}